package com.zhiyou.service;

import com.github.pagehelper.PageInfo;
import com.zhiyou.entity.House;
import com.zhiyou.entity.Lessee;
import com.zhiyou.entity.Rent;
import java.util.List;

public interface RentService {
    PageInfo<Rent> getAll(Integer pageNo, Integer pageSize);

    Rent selectOneByRId(Integer rId);

    int update(Rent rent);

    boolean delete(Integer rId);

    List<House> getHouse();

    List<Lessee> getLessee();

    int insertRent(Rent rent);

    PageInfo<Rent>  getRentLikeAll(String like,Integer pageNo,Integer pageSize);
}
